<?php

namespace App\Annotation;

use Hyperf\Di\Annotation\AbstractAnnotation;
use Hyperf\DbConnection\Db;
/**
 * @Annotation
 *  @Target("ALL")
 */
class Bar extends AbstractAnnotation
{
    /**
     * @var string
     */
    public $name;

    public function __construct($value = null) {
        parent::__construct();
        $this->name=$value;
    }


    public function get_val(){
        return $this->name.'123';
    }

}
